import request from '../utils/request'

export const loginApi = (userinfo) => {
  return request({
    url: '/api/login',
    method: 'post',
    data: {
      ...userinfo
    }
  })
}

export const getUserListApi = () => {
  return request({
    url: '/my/getuserlist'
  })
}
